package com.itheima.service;

import com.itheima.pojo.PageBean;
import com.itheima.pojo.Rest;

public interface RestService {
    PageBean<Rest> list(Integer pageNum, Integer pageSize, String nickname,String isadmin,String search,Integer userId);

    void add(Rest rest);
    void update(Rest rest);
}
